<?=$this->load->view('include_header',null)?>
<style type="text/css">
select { width:100px;}
form#form textarea {
    height: 50px;
    overflow: auto;
    padding: 5px;
    width: 410px;
}
</style>
	<title></title><div id="top-panel">
		<div id="panel">
			<ul>
				<li class="current"><a href="<?=site_url('archive/idcard/'.$id)?>" class="report"><?=(empty($id))?"录入新":"编辑"?>客户基本信息</a></li>
				<?php if(!empty($info->id)):?><li><a id="printInfo" class="folder_table">打印本页信息</a></li><?php endif;?>
			</ul>
		</div>
	</div>
	<div id="wrapper">
		<div id="content">
			<div id="box">
<!-- table begin -->
<form method="post" id="form"  enctype="multipart/form-data" action="<?=site_url('schengen/nz_business_update/'.$cateid)?>">

	<h3>新西兰商务访问签证[INZ 1017]</h3>
    <table width="100%">
    <thead>
        <tr>
          <td colspan="3" align="right"><img src="<?= (@$info->avatar)?@$info->avatar:'images/avatar.gif'?>" width="150" height="150" /></td>
		  <td colspan="2" align="right">
		  上传照片<br />
		  <input type="file" name="userphoto"/><br />
		  (.gif|.jpg|.png文件,最大1M)<br />
		  <?php if (@$info->attachment):?><a href="<?= @$info->attachment?>" target="_blank">点击下载附件</a><?php endif; ?>
		  &nbsp;&nbsp;&nbsp;&nbsp;上传附件<br />
		  <input type="file" name="userfile"/><br />
		  (.pdf|.zip|.rar|.doc,最大2M)		  </td>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <td colspan="5" align="right">			
			<input type="hidden" name="id" value="<?=$id?>" />
			<input id="button1" type="submit" value="提交信息" />
			<input id="button2" type="reset" value="重置" />			</td>
        </tr>
    </tfoot>

    <tbody>
		<tr class="even">
		<td colspan="5"><strong>Section A Principal applicant’s personal details</strong></td>
		</tr>
		<tr class="odd">
            <td colspan="5">A1 Name as shown in passport</td>
        	</tr>
        <tr class="even">
            <td>Family/last name</td>
        	<td><input type="text" name="surname" value="<?= @$info->surname?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="firstname" value="<?= @$info->firstname?>"/></td>
        </tr>
		<tr class="odd">
            <td>A2 Preferred title</td>
        	<td colspan="4">
			<input type="radio" name="title" value="1" <?= (@$info->title==1)?'checked':''?> />Mr 
			<input type="radio" name="title" value="2" <?= (@$info->title==2)?'checked':''?> />Mrs 
			<input type="radio" name="title" value="3" <?= (@$info->title==3)?'checked':''?> />Ms 
			<input type="radio" name="title" value="4" <?= (@$info->title==4)?'checked':''?> />Miss 
			<input type="radio" name="title" value="5" <?= (@$info->title==5)?'checked':''?> />Dr 
			other (specify)
			<input type="text" name="title_other" value="<?= @$info->title_other?>"/></td>
        	</tr>
        <tr class="even">
            <td colspan="2">A3 Other names you are known by or have ever been known by</td>
        	<td>&nbsp;</td>
        	<td><input type="text" name="alias1" value="<?= @$info->alias1?>"/></td>
			<td><input type="text" name="alias2" value="<?= @$info->alias2?>"/></td>
        </tr>
		<tr class="odd">
            <td colspan="2">A4 Your name in ethnic script</td>
        	<td>&nbsp;</td>
        	<td colspan="2"><input type="text" name="ethnic_script" value="<?= @$info->ethnic_script?>"/></td>
			</tr>
        <tr class="even">
            <td>A5 Gender</td>
        	<td><input type="radio" name="sex" value="1" <?= (@$info->sex==1)?'checked':''?> />Male 
        		<input type="radio" name="sex" value="2" <?= (@$info->sex==2)?'checked':''?> />Female</td>
        	<td>&nbsp;</td>
        	<td>A6 Date of birth</td>
			<td><input type="text" name="birth" id="birth" value="<?= @$info->birth?>"/></td>
        </tr>
		<tr class="odd">
            <td>A7 Town/city of birth</td>
        	<td><input type="text" name="birth_city" value="<?= @$info->birth_city?>"/></td>
        	<td>&nbsp;</td>
        	<td>Country of birth</td>
			<td><input type="text" name="birth_country" value="<?= @$info->birth_country?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="5">A8 Passport details</td>
        	</tr>
		<tr class="odd">
            <td>Number</td>
        	<td><input type="text" name="passport_no" value="<?= @$info->passport_no?>"/></td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td>Country</td>
        	<td><input type="text" name="passport_country" value="<?= @$info->passport_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>Expiry date</td>
			<td><input type="text" name="passport_expiry" id="passport_expiry" value="<?= @$info->passport_expiry?>"/></td>
        </tr>
		<tr class="odd">
            <td>A9 Country of citizenship</td>
        	<td><input type="text" name="citizenship" value="<?= @$info->citizenship?>"/></td>
        	<td>&nbsp;</td>
        	<td>A10 Other citizenships you hold</td>
			<td><input type="text" name="citizenship_other" value="<?= @$info->citizenship_other?>"/></td>
        </tr>
        <tr class="even">
            <td>A11 Partnership status</td>
        	<td colspan="4">
			<input type="radio" name="marital_status" value="1" <?= (@$info->marital_status==1)?'checked':''?> />Married/in civil union 
			<input type="radio" name="marital_status" value="2" <?= (@$info->marital_status==2)?'checked':''?> />Never married/never in civil union 
			<input type="radio" name="marital_status" value="3" <?= (@$info->marital_status==3)?'checked':''?> />Partner<br />
        	<input type="radio" name="marital_status" value="4" <?= (@$info->marital_status==4)?'checked':''?> />Separated 
			<input type="radio" name="marital_status" value="5" <?= (@$info->marital_status==5)?'checked':''?> />Engaged 
			<input type="radio" name="marital_status" value="6" <?= (@$info->marital_status==6)?'checked':''?> />Widowed 
			<input type="radio" name="marital_status" value="7" <?= (@$info->marital_status==7)?'checked':''?> />Divorced</td>
        	</tr>
		<tr class="odd">
            <td colspan="2">A12 Are you applying for a visa on the basis of a partnership?</td>
        	<td>&nbsp;</td>
        	<td><input type="radio" name="is_a12" value="1" <?= (@$info->is_a12==1)?'checked':''?> />Yes 
			<input type="radio" name="is_a12" value="0" <?= (@$info->is_a12==0)?'checked':''?> />No</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section B Contact details</strong></td>
        	</tr>
        <tr class="even">
            <td colspan="5">All principal applicants must complete this section.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">B1 Your residential address and telephone number in your home country</td>
        	</tr>
        <tr class="even">
            <td>Address</td>
        	<td colspan="4"><input type="text" name="address" value="<?= @$info->address?>" style="width:300px"/></td>
        	</tr>
		<tr class="odd">
            <td>Telephone (daytime)</td>
        	<td><input type="text" name="tel1" value="<?= @$info->tel1?>"/></td>
        	<td>&nbsp;</td>
        	<td>Telephone (evening)</td>
			<td><input type="text" name="tel2" value="<?= @$info->tel2?>"/></td>
        </tr>
        <tr class="even">
            <td>Fax</td>
        	<td><input type="text" name="fax" value="<?= @$info->fax?>"/></td>
        	<td>&nbsp;</td>
        	<td>Email</td>
			<td><input type="text" name="email" value="<?= @$info->email?>" id="email" /></td>
        </tr>
		<tr class="odd">
            <td colspan="5">B2 Your New Zealand residential address and telephone number (if you are already in New Zealand)</td>
        	</tr>
        <tr class="even">
            <td>Address</td>
        	<td colspan="4"><input type="text" name="nz_address" value="<?= @$info->nz_address?>" style="width:300px"/></td>
        	</tr>
		<tr class="odd">
            <td>Telephone (daytime)</td>
        	<td><input type="text" name="nz_tel1" value="<?= @$info->nz_tel1?>"/></td>
        	<td>&nbsp;</td>
        	<td>Telephone (evening)</td>
			<td><input type="text" name="nz_tel2" value="<?= @$info->nz_tel2?>"/></td>
        </tr>
        <tr class="even">
            <td>Fax</td>
        	<td><input type="text" name="nz_fax" value="<?= @$info->nz_fax?>"/></td>
        	<td>&nbsp;</td>
        	<td>Email</td>
			<td><input type="text" name="nz_email" value="<?= @$info->nz_email?>" id="nz_email"/></td>
        </tr>
		<tr class="odd">
            <td colspan="5">B3 Name and address for communication about this application</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_same_address" value="1" <?= (@$info->is_same_address==1)?'checked':''?> />Same as address at B1 , or 
			<input type="radio" name="is_same_address" value="2" <?= (@$info->is_same_address==2)?'checked':''?> />Same as address at B2 , or 
			<input type="radio" name="is_same_address" value="3" <?= (@$info->is_same_address==3)?'checked':''?> />as below</td>
        	</tr>
		<tr class="odd">
            <td>Family/last name</td>
        	<td><input type="text" name="postal_family" value="<?= @$info->postal_family?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="postal_given" value="<?= @$info->postal_given?>"/></td>
        </tr>
        <tr class="even">
            <td>Company name (if applicable) and address</td>
        	<td colspan="4"><input type="text" name="postal_address" value="<?= @$info->postal_address?>" style="width:300px"/></td>
        	</tr>
		<tr class="odd">
            <td>Telephone (daytime)</td>
        	<td><input type="text" name="postal_tel1" value="<?= @$info->postal_tel1?>"/></td>
        	<td>&nbsp;</td>
        	<td>Telephone (evening)</td>
			<td><input type="text" name="postal_tel2" value="<?= @$info->postal_tel2?>"/></td>
        </tr>
        <tr class="even">
            <td>Fax</td>
        	<td><input type="text" name="postal_fax" value="<?= @$info->postal_fax?>"/></td>
        	<td>&nbsp;</td>
        	<td>Email</td>
			<td><input type="text" name="postal_email" value="<?= @$info->postal_email?>" id="postal_email"/></td>
        </tr>
		<tr class="odd">
            <td colspan="2">B4 Do you authorise the person stated at B3 to act on your behalf?</td>
        	<td>&nbsp;</td>
        	<td colspan="2"><input type="radio" name="is_b4" value="1" <?= (@$info->is_b4==1)?'checked':''?> />Yes 
			<input type="radio" name="is_b4" value="0" <?= (@$info->is_b4==0)?'checked':''?> />No</td>
        	</tr>
        <tr class="even">
            <td colspan="2">B5 Have you received immigration advice on this application?</td>
        	<td>&nbsp;</td>
        	<td colspan="2"><input type="radio" name="is_b5" value="1" <?= (@$info->is_b5==1)?'checked':''?> />Yes Make sure that your immigration adviser completes Section O: Immigration adviser’s details.<br /> 
			<input type="radio" name="is_b5" value="0" <?= (@$info->is_b5==0)?'checked':''?> />No</td>
        	</tr>
		<tr class="odd">
            <td colspan="2">B6 Would you like us to email you instructions for registering to check online how your application is progressing?</td>
        	<td>&nbsp;</td>
        	<td colspan="2"><input type="radio" name="is_b6" value="1" <?= (@$info->is_b6==1)?'checked':''?> />Yes 
			<input type="radio" name="is_b6" value="0" <?= (@$info->is_b6==0)?'checked':''?> />No</td>
			</tr>
        <tr class="even">
            <td colspan="5">B7 Names and addresses of any friends, relatives, or contacts you have in New Zealand (if applicable)</td>
        	</tr>
		<tr class="odd">
            <td>Name</td>
        	<td><input type="text" name="friend1_name" value="<?= @$info->friend1_name?>"/></td>
        	<td>&nbsp;</td>
        	<td>Relationship</td>
			<td><input type="text" name="friend1_relate" value="<?= @$info->friend1_relate?>"/></td>
        </tr>
        <tr class="even">
            <td>Address</td>
        	<td colspan="4"><input type="text" name="friend1_address" value="<?= @$info->friend1_address?>" style="width:300px"/></td>
        	</tr>
		<tr class="odd">
            <td>Name</td>
        	<td><input type="text" name="friend2_name" value="<?= @$info->friend2_name?>"/></td>
        	<td>&nbsp;</td>
        	<td>Relationship</td>
			<td><input type="text" name="friend2_relate" value="<?= @$info->friend2_relate?>"/></td>
        </tr>
        <tr class="even">
            <td>Address</td>
        	<td colspan="4"><input type="text" name="friend2_address" value="<?= @$info->friend2_address?>" style="width:300px"/></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">B8 List all periods of employment, including self-employment</td>
        	</tr>
        <tr class="even">
            <td>Date from (DD/MM/YY)</td>
        	<td>Date to (DD/MM/YY)</td>
        	<td>Name of employer</td>
        	<td>Location</td>
			<td>Type of work/occupation/job title</td>
        </tr>
		<tr class="odd">
            <td nowrap="nowrap"><input type="text" name="emp1_from" id="emp1_from" value="<?= @$info->emp1_from?>"/></td>
        	<td nowrap="nowrap"><input type="text" name="emp1_to" id="emp1_to" value="<?= @$info->emp1_to?>"/></td>
        	<td><input type="text" name="emp1_name" value="<?= @$info->emp1_name?>"/></td>
        	<td><input type="text" name="emp1_loc" value="<?= @$info->emp1_loc?>"/></td>
			<td><input type="text" name="emp1_title" value="<?= @$info->emp1_title?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="emp2_from" id="emp2_from" value="<?= @$info->emp2_from?>"/></td>
        	<td><input type="text" name="emp2_to" id="emp2_to" value="<?= @$info->emp2_to?>"/></td>
        	<td><input type="text" name="emp2_name" value="<?= @$info->emp2_name?>"/></td>
        	<td><input type="text" name="emp2_loc" value="<?= @$info->emp2_loc?>"/></td>
			<td><input type="text" name="emp2_title" value="<?= @$info->emp2_title?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="emp3_from" id="emp3_from" value="<?= @$info->emp3_from?>"/></td>
        	<td><input type="text" name="emp3_to" id="emp3_to" value="<?= @$info->emp3_to?>"/></td>
        	<td><input type="text" name="emp3_name" value="<?= @$info->emp3_name?>"/></td>
        	<td><input type="text" name="emp3_loc" value="<?= @$info->emp3_loc?>"/></td>
			<td><input type="text" name="emp3_title" value="<?= @$info->emp3_title?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="emp4_from" id="emp4_from" value="<?= @$info->emp4_from?>"/></td>
        	<td><input type="text" name="emp4_to" id="emp4_to" value="<?= @$info->emp4_to?>"/></td>
        	<td><input type="text" name="emp4_name" value="<?= @$info->emp4_name?>"/></td>
        	<td><input type="text" name="emp4_loc" value="<?= @$info->emp4_loc?>"/></td>
			<td><input type="text" name="emp4_title" value="<?= @$info->emp4_title?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="emp5_from" id="emp5_from" value="<?= @$info->emp5_from?>"/></td>
        	<td><input type="text" name="emp5_to" id="emp5_to" value="<?= @$info->emp5_to?>"/></td>
        	<td><input type="text" name="emp5_name" value="<?= @$info->emp5_name?>"/></td>
        	<td><input type="text" name="emp5_loc" value="<?= @$info->emp5_loc?>"/></td>
			<td><input type="text" name="emp5_title" value="<?= @$info->emp5_title?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="emp6_from" id="emp6_from" value="<?= @$info->emp6_from?>"/></td>
        	<td><input type="text" name="emp6_to" id="emp6_to" value="<?= @$info->emp6_to?>"/></td>
        	<td><input type="text" name="emp6_name" value="<?= @$info->emp6_name?>"/></td>
        	<td><input type="text" name="emp6_loc" value="<?= @$info->emp6_loc?>"/></td>
			<td><input type="text" name="emp6_title" value="<?= @$info->emp6_title?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="emp7_from" id="emp7_from" value="<?= @$info->emp7_from?>"/></td>
        	<td><input type="text" name="emp7_to" id="emp7_to" value="<?= @$info->emp7_to?>"/></td>
        	<td><input type="text" name="emp7_name" value="<?= @$info->emp7_name?>"/></td>
        	<td><input type="text" name="emp7_loc" value="<?= @$info->emp7_loc?>"/></td>
			<td><input type="text" name="emp7_title" value="<?= @$info->emp7_title?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="emp8_from" id="emp8_from" value="<?= @$info->emp8_from?>"/></td>
        	<td><input type="text" name="emp8_to" id="emp8_to" value="<?= @$info->emp8_to?>"/></td>
        	<td><input type="text" name="emp8_name" value="<?= @$info->emp8_name?>"/></td>
        	<td><input type="text" name="emp8_loc" value="<?= @$info->emp8_loc?>"/></td>
			<td><input type="text" name="emp8_title" value="<?= @$info->emp8_title?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="emp9_from" id="emp9_from" value="<?= @$info->emp9_from?>"/></td>
        	<td><input type="text" name="emp9_to" id="emp9_to" value="<?= @$info->emp9_to?>"/></td>
        	<td><input type="text" name="emp9_name" value="<?= @$info->emp9_name?>"/></td>
        	<td><input type="text" name="emp9_loc" value="<?= @$info->emp9_loc?>"/></td>
			<td><input type="text" name="emp9_title" value="<?= @$info->emp9_title?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="emp10_from" id="emp10_from" value="<?= @$info->emp10_from?>"/></td>
        	<td><input type="text" name="emp10_to" id="emp10_to" value="<?= @$info->emp10_to?>"/></td>
        	<td><input type="text" name="emp10_name" value="<?= @$info->emp10_name?>"/></td>
        	<td><input type="text" name="emp10_loc" value="<?= @$info->emp10_loc?>"/></td>
			<td><input type="text" name="emp10_title" value="<?= @$info->emp10_title?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="emp11_from" id="emp11_from" value="<?= @$info->emp11_from?>"/></td>
        	<td><input type="text" name="emp11_to" id="emp11_to" value="<?= @$info->emp11_to?>"/></td>
        	<td><input type="text" name="emp11_name" value="<?= @$info->emp11_name?>"/></td>
        	<td><input type="text" name="emp11_loc" value="<?= @$info->emp11_loc?>"/></td>
			<td><input type="text" name="emp11_title" value="<?= @$info->emp11_title?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section C Partner’s personal details</strong></td>
        	</tr>
        <tr class="even">
            <td colspan="5">C1 Partner’s name as shown in passport</td>
        	</tr>
		<tr class="odd">
            <td>Family/last name</td>
        	<td><input type="text" name="spouse_family" value="<?= @$info->spouse_family?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="spouse_given" value="<?= @$info->spouse_given?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="5">C2 Partner’s preferred title 
			<input type="radio" name="spouse_title" value="1" <?= (@$info->spouse_title==1)?'checked':''?> />Mr 
			<input type="radio" name="spouse_title" value="2" <?= (@$info->spouse_title==2)?'checked':''?> />Mrs 
			<input type="radio" name="spouse_title" value="3" <?= (@$info->spouse_title==3)?'checked':''?> />Ms 
			<input type="radio" name="spouse_title" value="4" <?= (@$info->spouse_title==4)?'checked':''?> />Miss 
			<input type="radio" name="spouse_title" value="5" <?= (@$info->spouse_title==5)?'checked':''?> />Dr 
			other (specify)
			<input type="text" name="spouse_title_other" value="<?= @$info->spouse_title_other?>"/></td>
        	</tr>
		<tr class="odd">
            <td colspan="3">C3 Other names your partner is known by or has ever been known by</td>
        	<td><input type="text" name="spouse_alias1" value="<?= @$info->spouse_alias1?>"/></td>
			<td><input type="text" name="spouse_alias2" value="<?= @$info->spouse_alias2?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="3">C4 Partner’s name in ethnic script</td>
        	<td><input type="text" name="spouse_ethnic_script" value="<?= @$info->spouse_ethnic_script?>"/></td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td>C5 Partner’s gender</td>
        	<td><input type="radio" name="spouse_sex" value="1" <?= (@$info->spouse_sex==1)?'checked':''?> />Male 
        		<input type="radio" name="spouse_sex" value="2" <?= (@$info->spouse_sex==2)?'checked':''?> />Female</td>
        	<td>&nbsp;</td>
        	<td>C6 Partner’s date of birth</td>
			<td><input type="text" name="spouse_birth" id="spouse_birth" value="<?= @$info->spouse_birth?>"/></td>
        </tr>
        <tr class="even">
            <td>C7 Partner’s town/city of birth</td>
        	<td><input type="text" name="spouse_birth_city" value="<?= @$info->spouse_birth_city?>"/></td>
        	<td>&nbsp;</td>
        	<td>Partner’s country of birth</td>
			<td><input type="text" name="spouse_birth_country" value="<?= @$info->spouse_birth_country?>"/></td>
        </tr>
		<tr class="odd">
            <td colspan="5">C8 Partner’s passport details</td>
        	</tr>
        <tr class="even">
            <td>Number</td>
        	<td><input type="text" name="spouse_passport_no" value="<?= @$info->spouse_passport_no?>"/></td>
        	<td>&nbsp;</td>
        	<td>Country</td>
			<td><input type="text" name="spouse_passport_country" value="<?= @$info->spouse_passport_country?>"/></td>
        </tr>
		<tr class="odd">
            <td>Expiry date</td>
        	<td><input type="text" name="spouse_passport_expiry" id="spouse_passport_expiry" value="<?= @$info->spouse_passport_expiry?>"/></td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td>C9 Partner’s country of citizenship</td>
        	<td><input type="text" name="spouse_citizenship" value="<?= @$info->spouse_citizenship?>"/></td>
        	<td>&nbsp;</td>
        	<td>C10 Other citizenships your partner holds</td>
			<td><input type="text" name="spouse_citizenship_other" value="<?= @$info->spouse_citizenship_other?>"/></td>
        </tr>
		<tr class="odd">
            <td colspan="3">C11 Is your partner included in this application?</td>
        	<td><input type="radio" name="is_c11" value="1" <?= (@$info->is_c11==1)?'checked':''?> />Yes 
			<input type="radio" name="is_c11" value="0" <?= (@$info->is_c11==0)?'checked':''?> />No</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section D Dependent children’s personal details</strong></td>
        	</tr>
        <tr class="even">
            <td colspan="5">Dependent child one</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">D1 Child’s name as shown in passport</td>
        	</tr>
        <tr class="even">
            <td>Family/last name</td>
        	<td><input type="text" name="child1_family" value="<?= @$info->child1_family?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="child1_given" value="<?= @$info->child1_given?>"/></td>
        </tr>
		<tr class="odd">
            <td>D2 Child’s gender</td>
        	<td><input type="radio" name="child1_sex" value="1" <?= (@$info->child1_sex==1)?'checked':''?> />Male 
        		<input type="radio" name="child1_sex" value="2" <?= (@$info->child1_sex==2)?'checked':''?> />Female</td>
        	<td>&nbsp;</td>
        	<td>D3 Child’s date of birth</td>
			<td><input type="text" name="child1_birth" id="child1_birth" value="<?= @$info->child1_birth?>"/></td>
        </tr>
        <tr class="even">
            <td>D4 Child’s country of birth</td>
        	<td><input type="text" name="child1_birth_country" value="<?= @$info->child1_birth_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="2">D5 Child’s passport details</td>
        	<td>&nbsp;</td>
        	<td>Number</td>
			<td><input type="text" name="child1_passport_no" value="<?= @$info->child1_passport_no?>"/></td>
        </tr>
        <tr class="even">
            <td>Country</td>
        	<td><input type="text" name="child1_passport_country" value="<?= @$info->child1_passport_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>Expiry date</td>
			<td><input type="text" name="child1_passport_expiry" id="child1_passport_expiry" value="<?= @$info->child1_passport_expiry?>"/></td>
        </tr>
		<tr class="odd">
            <td>D6 Child’s country of citizenship</td>
        	<td><input type="text" name="child1_citizenship" value="<?= @$info->child1_citizenship?>"/></td>
        	<td>&nbsp;</td>
        	<td>D7 Other citizenships child holds</td>
			<td><input type="text" name="child1_citizenship_other" value="<?= @$info->child1_citizenship_other?>"/></td>
        </tr>
		
		
		<tr class="even">
            <td colspan="5">Dependent child two</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">D8 Child’s name as shown in passport</td>
        	</tr>
        <tr class="even">
            <td>Family/last name</td>
        	<td><input type="text" name="child2_family" value="<?= @$info->child2_family?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="child2_given" value="<?= @$info->child2_given?>"/></td>
        </tr>
		<tr class="odd">
            <td>D9 Child’s gender</td>
        	<td><input type="radio" name="child2_sex" value="1" <?= (@$info->child2_sex==1)?'checked':''?> />Male 
        		<input type="radio" name="child2_sex" value="2" <?= (@$info->child2_sex==2)?'checked':''?> />Female</td>
        	<td>&nbsp;</td>
        	<td>D10 Child’s date of birth</td>
			<td><input type="text" name="child2_birth" id="child2_birth" value="<?= @$info->child2_birth?>"/></td>
        </tr>
        <tr class="even">
            <td>D11 Child’s country of birth</td>
        	<td><input type="text" name="child2_birth_country" value="<?= @$info->child2_birth_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="2">D12 Child’s passport details</td>
        	<td>&nbsp;</td>
        	<td>Number</td>
			<td><input type="text" name="child2_passport_no" value="<?= @$info->child2_passport_no?>"/></td>
        </tr>
        <tr class="even">
            <td>Country</td>
        	<td><input type="text" name="child2_passport_country" value="<?= @$info->child2_passport_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>Expiry date</td>
			<td><input type="text" name="child2_passport_expiry" id="child2_passport_expiry" value="<?= @$info->child2_passport_expiry?>"/></td>
        </tr>
		<tr class="odd">
            <td>D13 Child’s country of citizenship</td>
        	<td><input type="text" name="child2_citizenship" value="<?= @$info->child2_citizenship?>"/></td>
        	<td>&nbsp;</td>
        	<td>D14 Other citizenships child holds</td>
			<td><input type="text" name="child2_citizenship_other" value="<?= @$info->child2_citizenship_other?>"/></td>
        </tr>
		
		<tr class="even">
            <td colspan="5">Dependent child three</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">D15 Child’s name as shown in passport</td>
        	</tr>
        <tr class="even">
            <td>Family/last name</td>
        	<td><input type="text" name="child3_family" value="<?= @$info->child3_family?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="child3_given" value="<?= @$info->child3_given?>"/></td>
        </tr>
		<tr class="odd">
            <td>D16 Child’s gender</td>
        	<td><input type="radio" name="child3_sex" value="1" <?= (@$info->child3_sex==1)?'checked':''?> />Male 
        		<input type="radio" name="child3_sex" value="2" <?= (@$info->child3_sex==2)?'checked':''?> />Female</td>
        	<td>&nbsp;</td>
        	<td>D17 Child’s date of birth</td>
			<td><input type="text" name="child3_birth" id="child3_birth" value="<?= @$info->child3_birth?>"/></td>
        </tr>
        <tr class="even">
            <td>D18 Child’s country of birth</td>
        	<td><input type="text" name="child3_birth_country" value="<?= @$info->child3_birth_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="2">D19 Child’s passport details</td>
        	<td>&nbsp;</td>
        	<td>Number</td>
			<td><input type="text" name="child3_passport_no" value="<?= @$info->child3_passport_no?>"/></td>
        </tr>
        <tr class="even">
            <td>Country</td>
        	<td><input type="text" name="child3_passport_country" value="<?= @$info->child3_passport_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>Expiry date</td>
			<td><input type="text" name="child3_passport_expiry" id="child3_passport_expiry" value="<?= @$info->child3_passport_expiry?>"/></td>
        </tr>
		<tr class="odd">
            <td>D20 Child’s country of citizenship</td>
        	<td><input type="text" name="child3_citizenship" value="<?= @$info->child3_citizenship?>"/></td>
        	<td>&nbsp;</td>
        	<td>D21 Other citizenships child holds</td>
			<td><input type="text" name="child3_citizenship_other" value="<?= @$info->child3_citizenship_other?>"/></td>
        </tr>
		
		<tr class="even">
            <td colspan="5">Dependent child four</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">D22 Child’s name as shown in passport</td>
        	</tr>
        <tr class="even">
            <td>Family/last name</td>
        	<td><input type="text" name="child4_family" value="<?= @$info->child4_family?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="child4_given" value="<?= @$info->child4_given?>"/></td>
        </tr>
		<tr class="odd">
            <td>D23 Child’s gender</td>
        	<td><input type="radio" name="child4_sex" value="1" <?= (@$info->child4_sex==1)?'checked':''?> />Male 
        		<input type="radio" name="child4_sex" value="2" <?= (@$info->child4_sex==2)?'checked':''?> />Female</td>
        	<td>&nbsp;</td>
        	<td>D24 Child’s date of birth</td>
			<td><input type="text" name="child4_birth" id="child4_birth" value="<?= @$info->child4_birth?>"/></td>
        </tr>
        <tr class="even">
            <td>D25 Child’s country of birth</td>
        	<td><input type="text" name="child4_birth_country" value="<?= @$info->child4_birth_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="2">D26 Child’s passport details</td>
        	<td>&nbsp;</td>
        	<td>Number</td>
			<td><input type="text" name="child4_passport_no" value="<?= @$info->child4_passport_no?>"/></td>
        </tr>
        <tr class="even">
            <td>Country</td>
        	<td><input type="text" name="child4_passport_country" value="<?= @$info->child4_passport_country?>"/></td>
        	<td>&nbsp;</td>
        	<td>Expiry date</td>
			<td><input type="text" name="child4_passport_expiry" id="child4_passport_expiry" value="<?= @$info->child4_passport_expiry?>"/></td>
        </tr>
		<tr class="odd">
            <td>D27 Child’s country of citizenship</td>
        	<td><input type="text" name="child4_citizenship" value="<?= @$info->child4_citizenship?>"/></td>
        	<td>&nbsp;</td>
        	<td>D28 Other citizenships child holds</td>
			<td><input type="text" name="child4_citizenship_other" value="<?= @$info->child4_citizenship_other?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section E Health</strong></td>
        	</tr>
        <tr class="even">
            <td colspan="5">E1 Do you or any person included in this application have pulmonary tuberculosis (TB)? 
			<input type="radio" name="is_e1" value="1" <?= (@$info->is_e1==1)?'checked':''?> />Yes Provide details  
			<input type="radio" name="is_e1" value="0" <?= (@$info->is_e1==0)?'checked':''?> />No</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><textarea name="e1"><?= @$info->e1?></textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="5">E2 Do you or any person included in this application have any medical condition that requires, or may require, one of the following during your stay in New Zealand?</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
				• Renal dialysis 
				<input type="radio" name="is_e2_1" value="1" <?= (@$info->is_e2_1==1)?'checked':''?> />Yes 
				<input type="radio" name="is_e2_1" value="0" <?= (@$info->is_e2_1==0)?'checked':''?> />No<br />
            	• Hospital care
				<input type="radio" name="is_e2_2" value="1" <?= (@$info->is_e2_2==1)?'checked':''?> />Yes 
				<input type="radio" name="is_e2_2" value="0" <?= (@$info->is_e2_2==0)?'checked':''?> />No<br />
            	• Residential care 
				<input type="radio" name="is_e2_3" value="1" <?= (@$info->is_e2_3==1)?'checked':''?> />Yes 
				<input type="radio" name="is_e2_3" value="0" <?= (@$info->is_e2_3==0)?'checked':''?> />No</td>
        	</tr>
        <tr class="even">
            <td colspan="5">E3 If you have answered Yes to any of the questions in E2 , please provide details.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><textarea name="e3"><?= @$info->e3?></textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="5">E4 Are you or any person included in this application pregnant? 
				<input type="radio" name="is_e4" value="1" <?= (@$info->is_e4==1)?'checked':''?> />Yes 
				<input type="radio" name="is_e4" value="0" <?= (@$info->is_e4==0)?'checked':''?> />No<br />
            	If you have answered Yes, please provide details (who is pregnant and when are they due to give birth).</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><textarea name="e4"><?= @$info->e4?>
            </textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="5">Medical certificates you must provide</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">E5 Do you intend to visit New Zealand for less than six months? If you are in New Zealand, this includes time you have already spent here.</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_e5" value="1" <?= (@$info->is_e5==1)?'checked':''?> />Yes You do not need to provide any medical certificates. Go to E10  
			<input type="radio" name="is_e5" value="0" <?= (@$info->is_e5==0)?'checked':''?> />No Go to E6</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">E6 Have you or any person included in this application submitted medical certificates that were completed and dated by a medical practitioner within the last 24 months with another Immigration New Zealand application?</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_e6" value="1" <?= (@$info->is_e6==1)?'checked':''?> />Yes Provide details  
			<input type="radio" name="is_e6" value="0" <?= (@$info->is_e6==0)?'checked':''?> />No Go to E7</td>
        	</tr>
		<tr class="odd" align="center">
            <td colspan="2">Full name</td>
        	<td colspan="2">Type of application</td>
        	<td>Date application was lodged<br />
        		(DD/MM/YY)</td>
        </tr>
        <tr class="even">
            <td colspan="2"><input type="text" name="e6_1_name" value="<?= @$info->e6_1_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="e6_1_type" value="<?= @$info->e6_1_type?>" style="width:250px"/></td>
        	<td nowrap="nowrap"><input type="text" name="e6_1_date" id="e6_1_date" value="<?= @$info->e6_1_date?>"/></td>
        </tr>
		<tr class="odd">
            <td colspan="2"><input type="text" name="e6_2_name" value="<?= @$info->e6_2_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="e6_2_type" value="<?= @$info->e6_2_type?>" style="width:250px"/></td>
        	<td nowrap="nowrap"><input type="text" name="e6_2_date" id="e6_2_date" value="<?= @$info->e6_2_date?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="2"><input type="text" name="e6_3_name" value="<?= @$info->e6_3_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="e6_3_type" value="<?= @$info->e6_3_type?>" style="width:250px"/></td>
        	<td nowrap="nowrap"><input type="text" name="e6_3_date" id="e6_3_date" value="<?= @$info->e6_3_date?>"/></td>
        </tr>
		<tr class="odd">
            <td colspan="2"><input type="text" name="e6_4_name" value="<?= @$info->e6_4_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="e6_4_type" value="<?= @$info->e6_4_type?>" style="width:250px"/></td>
        	<td nowrap="nowrap"><input type="text" name="e6_4_date" id="e6_4_date" value="<?= @$info->e6_4_date?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="2"><input type="text" name="e6_5_name" value="<?= @$info->e6_5_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="e6_5_type" value="<?= @$info->e6_5_type?>" style="width:250px"/></td>
        	<td nowrap="nowrap"><input type="text" name="e6_5_date" id="e6_5_date" value="<?= @$info->e6_5_date?>"/></td>
        </tr>
		<tr class="odd">
            <td colspan="2"><input type="text" name="e6_6_name" value="<?= @$info->e6_6_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="e6_6_type" value="<?= @$info->e6_6_type?>" style="width:250px"/></td>
        	<td nowrap="nowrap"><input type="text" name="e6_6_date" id="e6_6_date" value="<?= @$info->e6_6_date?>"/></td>
        </tr>
        <tr class="even">
            <td colspan="5">E7 How long do you intend to stay in New Zealand? If you are in New Zealand, this includes time you have already spent here.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
			<input type="radio" name="is_e7" value="1" <?= (@$info->is_e7==1)?'checked':''?> />More than six months but not more than 12 months. Go to E8<br />
			<input type="radio" name="is_e7" value="2" <?= (@$info->is_e7==2)?'checked':''?> />More than 12 months. You must provide a Medical and Chest X-ray Certificate (INZ 1007). Go to E10</td>
        	</tr>
        <tr class="even">
            <td colspan="5">E8 See the list ‘Countries, areas, and territories with a low incidence of tuberculosis’ in ‘Completing Section E: Health’ of the Visitor Visa Guide. Please tick one of the options below.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
			<input type="radio" name="is_e8" value="1" <?= (@$info->is_e8==1)?'checked':''?> />Everyone included in this application is from a place that is on the list. Go to E9<br />
			<input type="radio" name="is_e8" value="2" <?= (@$info->is_e8==2)?'checked':''?> />One or more people included in this application are from a place that is not on the list. Provide details below.<br />
			<textarea name="e8"><?= @$info->e8?></textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="5">E9 Please tick one of the options below.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
			<input type="radio" name="is_e9" value="1" <?= (@$info->is_e9==1)?'checked':''?> />No one included in this application has spent three months or more in the past five years in a place that is not on the list. You do not have to provide any medical certificates at this stage. Go to E10<br />
            <input type="radio" name="is_e9" value="2" <?= (@$info->is_e9==2)?'checked':''?> />One or more people included in this application has spent three months or more in the past five years in a place that is not on the list. Provide details<br />
            <textarea name="e9"><?= @$info->e9?>
            </textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="5">E10 Please tick below to show the evidence you are providing.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><input type="radio" name="is_e10" value="1" <?= (@$info->is_e10==1)?'checked':''?> />I do not have to provide any medical certificates at this stage.</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><input type="radio" name="is_e10" value="2" <?= (@$info->is_e10==2)?'checked':''?> />I attach a X-ray Certificate for Temporary Entry (INZ 1096) for:</td>
        	</tr>
		<tr class="odd">
            <td>&nbsp;</td>
        	<td colspan="4">
			<input type="radio" name="is_e10_2" value="1" <?= (@$info->is_e10_2==1)?'checked':''?> />Principal applicant 
			<input type="radio" name="is_e10_2" value="2" <?= (@$info->is_e10_2==2)?'checked':''?> />Partner 
			<input type="radio" name="is_e10_2" value="3" <?= (@$info->is_e10_2==3)?'checked':''?> />Dependent child one<br />
        	<input type="radio" name="is_e10_2" value="4" <?= (@$info->is_e10_2==4)?'checked':''?> />Dependent child two 
			<input type="radio" name="is_e10_2" value="5" <?= (@$info->is_e10_2==5)?'checked':''?> />Dependent child three
			<input type="radio" name="is_e10_2" value="6" <?= (@$info->is_e10_2==6)?'checked':''?> />Dependent child four</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><input type="radio" name="is_e10" value="3" <?= (@$info->is_e10==3)?'checked':''?> />I attach Medical and Chest X-ray Certificates (INZ 1007) for:</td>
        	</tr>
		<tr class="odd">
            <td>&nbsp;</td>
        	<td colspan="4">
			<input type="radio" name="is_e10_3" value="1" <?= (@$info->is_e10_3==1)?'checked':''?> />Principal applicant 
			<input type="radio" name="is_e10_3" value="2" <?= (@$info->is_e10_3==2)?'checked':''?> />Partner 
			<input type="radio" name="is_e10_3" value="3" <?= (@$info->is_e10_3==3)?'checked':''?> />Dependent child one<br />
        	<input type="radio" name="is_e10_3" value="4" <?= (@$info->is_e10_3==4)?'checked':''?> />Dependent child two 
			<input type="radio" name="is_e10_3" value="5" <?= (@$info->is_e10_3==5)?'checked':''?> />Dependent child three
			<input type="radio" name="is_e10_3" value="6" <?= (@$info->is_e10_3==6)?'checked':''?> />Dependent child four			</td>
        	</tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section F Visa type</strong></td>
        	</tr>
        <tr class="even">
            <td colspan="5">F1 Please tick one of the boxes below to show the type of visa(s) you are applying for, and provide the details required.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><input type="radio" name="is_f1" value="1" <?= (@$info->is_f1==1)?'checked':''?> />Applying for a visitor visa while outside New Zealand. Provide details. Go to F2</td>
        	</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2">Date you will arrive in New Zealand<br />
        		Date you will finally depart New Zealand</td>
        	<td nowrap="nowrap"><input type="text" name="f1_1_1" id="f1_1_1" value="<?= @$info->f1_1_1?>"/>
        		<br />
        		<input type="text" name="f1_1_2" id="f1_1_2" value="<?= @$info->f1_1_1?>"/></td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="5"><input type="radio" name="is_f1" value="2" <?= (@$info->is_f1==2)?'checked':''?> />Applying for a visitor visa while inside New Zealand. Provide details. Go to F2</td>
        	</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2">Date you arrived in New Zealand<br />
        		Date you want your visitor visa to be valid to<br />
        		Date you will finally depart New Zealand</td>
        	<td><input type="text" name="f1_2_1" id="f1_2_1" value="<?= @$info->f1_2_1?>"/>
        		<br />
        		<input type="text" name="f1_2_2" id="f1_2_2" value="<?= @$info->f1_2_2?>"/>
        		<br />
        		<input type="text" name="f1_2_3" id="f1_2_3" value="<?= @$info->f1_2_3?>"/></td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="5"><input type="radio" name="is_f1" value="3" <?= (@$info->is_f1==3)?'checked':''?> />Applying for a limited visa while outside New Zealand. Provide details. Go to F3</td>
        	</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2">Date you will enter New Zealand<br />
        		Date you will finally depart New Zealand</td>
        	<td><input type="text" name="f1_3_1" id="f1_3_1" value="<?= @$info->f1_3_1?>"/>
        		<br />
        		<input type="text" name="f1_3_2" id="f1_3_2" value="<?= @$info->f1_3_2?>"/></td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="5"><input type="radio" name="is_f1" value="4" <?= (@$info->is_f1==4)?'checked':''?> />Applying for a further limited visa while inside New Zealand. Provide details. Go to F3</td>
        	</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2">Date you arrived in New Zealand on a limited visa<br />
        		Date you will finally depart New Zealand</td>
        	<td><input type="text" name="f1_4_1" id="f1_4_1" value="<?= @$info->f1_4_1?>"/>
        		<br />
        		<input type="text" name="f1_4_2" id="f1_4_2" value="<?= @$info->f1_4_2?>"/></td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="5">F2 Only answer these questions if you are applying for a visitor visa.<br />
            	What is the purpose of your visit to New Zealand?</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><textarea name="f2"><?= @$info->f2?>
            </textarea></td>
        	</tr>
		<tr class="odd">
            <td>Do you need a visa allowing:</td>
        	<td>
			<input type="radio" name="is_f2" value="1" <?= (@$info->is_f2==1)?'checked':''?> />single entry, or<br />
        	<input type="radio" name="is_f2" value="2" <?= (@$info->is_f2==2)?'checked':''?> />multiple entry?</td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td colspan="5">F3 Only answer this question if you are applying for a limited visa or a further limited visa.<br />
            	What is your ‘express purpose’ for visiting New Zealand? If you are applying for a further limited visa, also list the reasons why you require a further limited visa.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><textarea name="f3"><?= @$info->f3?>
            </textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="2">Date your ‘express purpose’ starts/started<br />
            	Date your ‘express purpose’ will be completed</td>
        	<td nowrap="nowrap"><input type="text" name="f3_1" id="f3_1" value="<?= @$info->f3_1?>"/>
        		<br />
        		<input type="text" name="f3_2" id="f3_2" value="<?= @$info->f3_2?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="5">&nbsp;</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><strong>Section G Character</strong></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">G1 Have you or any other person included in this application been:</td>
        	</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2">• convicted <br />
        		• charged Yes No<br />
        		• under investigation </td>
        	<td>
			<input type="radio" name="is_g1_1" value="1" <?= (@$info->is_g1_1==1)?'checked':''?> />Yes 
			<input type="radio" name="is_g1_1" value="0" <?= (@$info->is_g1_1==0)?'checked':''?> />No<br />
			<input type="radio" name="is_g1_2" value="1" <?= (@$info->is_g1_2==1)?'checked':''?> />Yes 
			<input type="radio" name="is_g1_2" value="0" <?= (@$info->is_g1_2==0)?'checked':''?> />No<br />
			<input type="radio" name="is_g1_3" value="1" <?= (@$info->is_g1_3==1)?'checked':''?> />Yes 
			<input type="radio" name="is_g1_3" value="0" <?= (@$info->is_g1_3==0)?'checked':''?> />No</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="5">G2 Have you or any other person included in this application been:</td>
        	</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2">• excluded (refused entry) from <br />
        		• refused a visa by <br />
        		• removed or deported from </td>
        	<td>
			<input type="radio" name="is_g2_1" value="1" <?= (@$info->is_g2_1==1)?'checked':''?> />Yes 
			<input type="radio" name="is_g2_1" value="0" <?= (@$info->is_g2_1==0)?'checked':''?> />No<br />
			<input type="radio" name="is_g2_2" value="1" <?= (@$info->is_g2_2==1)?'checked':''?> />Yes 
			<input type="radio" name="is_g2_2" value="0" <?= (@$info->is_g2_2==0)?'checked':''?> />No<br />
			<input type="radio" name="is_g2_3" value="1" <?= (@$info->is_g2_3==1)?'checked':''?> />Yes 
			<input type="radio" name="is_g2_3" value="0" <?= (@$info->is_g2_3==0)?'checked':''?> />No			</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="5">If you have answered Yes to any of the questions in G1 and G2 , please provide details below. Continue on a separate<br />
            	piece of paper if necessary.</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><textarea name="character_detail"><?= @$info->character_detail?>
            </textarea></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">&nbsp;</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><strong>Section H Additional details</strong></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">H1 Do you or any other person included in this application have a national identity number, or other unique identifier that was issued to you by any government? 
			<input type="radio" name="is_h1" value="1" <?= (@$info->is_h1==1)?'checked':''?> />Yes Provide details 
			<input type="radio" name="is_h1" value="0" <?= (@$info->is_h1==0)?'checked':''?> />No</td>
        	</tr>
        <tr class="even" align="center">
            <td>&nbsp;</td>
        	<td colspan="2">Name of applicant</td>
        	<td colspan="2">National identity number/Unique identifier</td>
			</tr>
		<tr class="odd">
            <td>&nbsp;</td>
        	<td colspan="2"><input type="text" name="h1_1_name" value="<?= @$info->h1_1_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="h1_1_id" value="<?= @$info->h1_1_id?>" style="width:250px"/></td>
			</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2"><input type="text" name="h1_2_name" value="<?= @$info->h1_2_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="h1_2_id" value="<?= @$info->h1_2_id?>" style="width:250px"/></td>
        </tr>
		<tr class="odd">
            <td>&nbsp;</td>
        	<td colspan="2"><input type="text" name="h1_3_name" value="<?= @$info->h1_3_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="h1_3_id" value="<?= @$info->h1_3_id?>" style="width:250px"/></td>
        </tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2"><input type="text" name="h1_4_name" value="<?= @$info->h1_4_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="h1_4_id" value="<?= @$info->h1_4_id?>" style="width:250px"/></td>
        </tr>
		<tr class="odd">
            <td>&nbsp;</td>
        	<td colspan="2"><input type="text" name="h1_5_name" value="<?= @$info->h1_5_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="h1_5_id" value="<?= @$info->h1_5_id?>" style="width:250px"/></td>
        </tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td colspan="2"><input type="text" name="h1_6_name" value="<?= @$info->h1_6_name?>" style="width:250px"/></td>
        	<td colspan="2"><input type="text" name="h1_6_id" value="<?= @$info->h1_6_id?>" style="width:250px"/></td>
        </tr>
		<tr class="odd">
            <td colspan="5">H2 Have you or any other person included in this application completed military service in any country?</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_h2" value="1" <?= (@$info->is_h2==1)?'checked':''?> />Yes Provide information about your/their military service including the dates of your/their military service, your/their position and rank, the unit or units that you/they served in, and your/their role within each unit.<br />
            <input type="radio" name="is_h2" value="0" <?= (@$info->is_h2==0)?'checked':''?> />No</td>
        	</tr>
		<tr class="odd" align="center">
            <td>Date from<br />
            	(DD/MM/YY)</td>
        	<td>Date to<br />
        		(DD/MM/YY)</td>
        	<td>Rank</td>
        	<td>Unit name or number</td>
			<td>Role</td>
        </tr>
        <tr class="even">
            <td><input type="text" name="h2_1_1" id="h2_1_1" value="<?= @$info->h2_1_1?>"/></td>
        	<td><input type="text" name="h2_1_2" id="h2_1_2" value="<?= @$info->h2_1_2?>"/></td>
        	<td><input type="text" name="h2_1_3" value="<?= @$info->h2_1_3?>"/></td>
        	<td><input type="text" name="h2_1_4" value="<?= @$info->h2_1_4?>"/></td>
			<td><input type="text" name="h2_1_5" value="<?= @$info->h2_1_5?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="h2_2_1" id="h2_2_1" value="<?= @$info->h2_2_1?>"/></td>
        	<td><input type="text" name="h2_2_2" id="h2_2_2" value="<?= @$info->h2_2_2?>"/></td>
        	<td><input type="text" name="h2_2_3" value="<?= @$info->h2_2_3?>"/></td>
        	<td><input type="text" name="h2_2_4" value="<?= @$info->h2_2_4?>"/></td>
			<td><input type="text" name="h2_2_5" value="<?= @$info->h2_2_5?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="h2_3_1" id="h2_3_1" value="<?= @$info->h2_3_1?>"/></td>
        	<td><input type="text" name="h2_3_2" id="h2_3_2" value="<?= @$info->h2_3_2?>"/></td>
        	<td><input type="text" name="h2_3_3" value="<?= @$info->h2_3_3?>"/></td>
        	<td><input type="text" name="h2_3_4" value="<?= @$info->h2_3_4?>"/></td>
			<td><input type="text" name="h2_3_5" value="<?= @$info->h2_3_5?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="h2_4_1" id="h2_4_1" value="<?= @$info->h2_4_1?>"/></td>
        	<td><input type="text" name="h2_4_2" id="h2_4_2" value="<?= @$info->h2_4_2?>"/></td>
        	<td><input type="text" name="h2_4_3" value="<?= @$info->h2_4_3?>"/></td>
        	<td><input type="text" name="h2_4_4" value="<?= @$info->h2_4_4?>"/></td>
			<td><input type="text" name="h2_4_5" value="<?= @$info->h2_4_5?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="h2_5_1" id="h2_5_1" value="<?= @$info->h2_5_1?>"/></td>
        	<td><input type="text" name="h2_5_2" id="h2_5_2" value="<?= @$info->h2_5_2?>"/></td>
        	<td><input type="text" name="h2_5_3" value="<?= @$info->h2_5_3?>"/></td>
        	<td><input type="text" name="h2_5_4" value="<?= @$info->h2_5_4?>"/></td>
			<td><input type="text" name="h2_5_5" value="<?= @$info->h2_5_5?>"/></td>
        </tr>
		<tr class="odd">
            <td><input type="text" name="h2_6_1" id="h2_6_1" value="<?= @$info->h2_6_1?>"/></td>
        	<td><input type="text" name="h2_6_2" id="h2_6_2" value="<?= @$info->h2_6_2?>"/></td>
        	<td><input type="text" name="h2_6_3" value="<?= @$info->h2_6_3?>"/></td>
        	<td><input type="text" name="h2_6_4" value="<?= @$info->h2_6_4?>"/></td>
			<td><input type="text" name="h2_6_5" value="<?= @$info->h2_6_5?>"/></td>
        </tr>
        <tr class="even">
            <td><input type="text" name="h2_7_1" id="h2_7_1" value="<?= @$info->h2_7_1?>"/></td>
        	<td><input type="text" name="h2_7_2" id="h2_7_2" value="<?= @$info->h2_7_2?>"/></td>
        	<td><input type="text" name="h2_7_3" value="<?= @$info->h2_7_3?>"/></td>
        	<td><input type="text" name="h2_7_4" value="<?= @$info->h2_7_4?>"/></td>
			<td><input type="text" name="h2_7_5" value="<?= @$info->h2_7_5?>"/></td>
        </tr>
		<tr class="odd">
            <td colspan="2">List any military identity numbers you/they were given</td>
        	<td colspan="3"><input type="text" name="h2" value="<?= @$info->h2?>" style="width:300px"/></td>
        	</tr>
        <tr class="even">
            <td colspan="5">H3 Are you or any other person included in this application presently subject to military service obligations in any country?</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
			<input type="radio" name="is_h3" value="1" <?= (@$info->is_h3==1)?'checked':''?> />Yes Go to H4 
			<input type="radio" name="is_h3" value="0" <?= (@$info->is_h3==0)?'checked':''?> />No If you/they are a citizen of a country in which compulsory military service exists, provide details.</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><textarea name="h3"><?= @$info->h3?></textarea></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">H4 Have you or any other person included in this application been associated with any intelligence agency or group, or law enforcement agency?</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_h4" value="1" <?= (@$info->is_h4==1)?'checked':''?> />Yes Describe how you/they were involved 
			<input type="radio" name="is_h4" value="0" <?= (@$info->is_h4==0)?'checked':''?> />No</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><textarea name="h4"><?= @$info->h4?></textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="5">H5 Have you or any other person included in this application been associated with any group or organisation that has used or promoted violence to further their aims?</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
			<input type="radio" name="is_h5" value="1" <?= (@$info->is_h5==1)?'checked':''?> />Yes Describe how you/they were involved 
			<input type="radio" name="is_h5" value="0" <?= (@$info->is_h5==0)?'checked':''?> />No</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><textarea name="h5"><?= @$info->h5?></textarea></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">H6 Have you or any other person included in this application ever committed or been involved in war crimes, crimes against humanity, and/or human rights abuses?</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_h6" value="1" <?= (@$info->is_h6==1)?'checked':''?> />Yes Describe how you/they were involved 
			<input type="radio" name="is_h6" value="0" <?= (@$info->is_h6==0)?'checked':''?> />No</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><textarea name="h6"><?= @$info->h6?></textarea></td>
        	</tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section I Financial support while you are in New Zealand</strong></td>
        	</tr>
        <tr class="even">
            <td colspan="5">I1 Please tick one of the options below to show what evidence you are providing of financial support in New Zealand.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
				<input type="radio" name="is_i1" value="1" <?= (@$info->is_i1==1)?'checked':''?> />
				I have attached copies (not originals) of evidence that I have NZ$1000 per month for each person included in this application.<br />
				<input type="radio" name="is_i1" value="2" <?= (@$info->is_i1==2)?'checked':''?> />
            	I have attached copies (not originals) of evidence that I have NZ$400 per month for each person included in this application for maintenance, and evidence that our accommodation costs are already paid.<br />
				<input type="radio" name="is_i1" value="3" <?= (@$info->is_i1==3)?'checked':''?> />
            	I have attached a completed Sponsorship Form for Temporary Entry (INZ 1025) guaranteeing accommodation, maintenance, and financial support.</td>
        	</tr>
        <tr class="even">
            <td colspan="5">I2 Please tick one of the options below to show how you will travel out of New Zealand.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
				<input type="radio" name="is_i2" value="1" <?= (@$info->is_i2==1)?'checked':''?> />
				I have attached copies (not originals) of valid tickets to a country which I have the right to enter.<br />
            	<input type="radio" name="is_i2" value="2" <?= (@$info->is_i2==2)?'checked':''?> />
				I have attached evidence of sufficient funds in New Zealand to purchase a ticket to a country which I have the right of entry.<br />
            	<input type="radio" name="is_i2" value="3" <?= (@$info->is_i2==3)?'checked':''?> />
				I have attached a completed Sponsorship Form for Temporary Entry (INZ 1025) guaranteeing my repatriation from New Zealand.</td>
        	</tr>
        <tr class="even">
            <td colspan="5">I3 
				<input type="radio" name="is_i3" value="1" <?= (@$info->is_i3==1)?'checked':''?> />
				I have attached a Sponsorship Form for Temporary Entry (INZ 1025) guaranteeing my sponsor will cover the cost of accommodation, maintenance, repatriation and health care.<br />
            	<input type="radio" name="is_i3" value="2" <?= (@$info->is_i3==2)?'checked':''?> />I have attached evidence of my family relationship to my sponsor. Go to Section N: Declaration by applicant.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">&nbsp;</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><strong>Section J Partners of New Zealand citizens, and partners of residence class, work or student visa holders</strong></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">J1 Are you and your partner living in a genuine and stable partnership?</td>
        	</tr>
        <tr class="even">
            <td colspan="2">
			<input type="radio" name="is_j1" value="1" <?= (@$info->is_j1==1)?'checked':''?> />Yes 
			<input type="radio" name="is_j1" value="0" <?= (@$info->is_j1==0)?'checked':''?> />No. If you have answered No, please explain why.</td>
        	<td colspan="3"><input type="text" name="j1" value="<?= @$info->j1?>" style="width:300px"/></td>
        	</tr>
		<tr class="odd">
            <td colspan="3">J2 How long have you and your partner been together in this partnership?</td>
        	<td colspan="2"><input type="text" name="j2" value="<?= @$info->j2?>"/></td>
			</tr>
        <tr class="even">
            <td colspan="5">J3 Will your partner be in New Zealand for the same period of time that you are here?</td>
        	</tr>
		<tr class="odd">
            <td colspan="2">
			<input type="radio" name="is_j3" value="1" <?= (@$info->is_j3==1)?'checked':''?> />Yes 
			<input type="radio" name="is_j3" value="0" <?= (@$info->is_j3==0)?'checked':''?> />No. If you have answered No, please explain why.</td>
        	<td colspan="3"><input type="text" name="j3" value="<?= @$info->j3?>" style="width:300px"/></td>
        	</tr>
        <tr class="even">
            <td colspan="5">J4 Do you meet the minimum requirements for the recognition of a partnership? 
			<input type="radio" name="is_j4" value="1" <?= (@$info->is_j4==1)?'checked':''?> />Yes 
			<input type="radio" name="is_j4" value="0" <?= (@$info->is_j4==0)?'checked':''?> />No</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">J5 If your partner is a New Zealand citizen or residence class visa holder, do you intend to apply for residence under Immigration New Zealand’s Partnership Instructions?</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_j5" value="1" <?= (@$info->is_j5==1)?'checked':''?> />Yes Go to J6 
			<input type="radio" name="is_j5" value="2" <?= (@$info->is_j5==2)?'checked':''?> />No Go to J7 
			<input type="radio" name="is_j5" value="3" <?= (@$info->is_j5==3)?'checked':''?> />Not applicable Go to J7</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">J6 Will your partner be eligible to support your application for residence?</td>
        	</tr>
        <tr class="even">
            <td colspan="2">
			<input type="radio" name="is_j6" value="1" <?= (@$info->is_j6==1)?'checked':''?> />Yes 
			<input type="radio" name="is_j6" value="0" <?= (@$info->is_j6==0)?'checked':''?> />No. If you have answered No, please explain why.</td>
        	<td colspan="3"><input type="text" name="j6" value="<?= @$info->j6?>" style="width:300px"/></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">J7 Please tick the boxes to confirm that you have attached the evidence we require.</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
				<input type="radio" name="is_j7" value="1" <?= (@$info->is_j7==1)?'checked':''?> />
				I have attached a completed Form for Partners Supporting Partnership-Based Temporary Entry Applications (INZ 1146).<br />
            	<input type="radio" name="is_j7" value="2" <?= (@$info->is_j7==2)?'checked':''?> />
				I have attached evidence of my partner’s immigration status.<br />
            	<input type="radio" name="is_j7" value="3" <?= (@$info->is_j7==3)?'checked':''?> />
				I have attached evidence that I am living together with my partner in a genuine and stable partnership.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">&nbsp;</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><strong>Section K Application for a visa for the purpose of a culturally arranged marriage</strong></td>
        	</tr>
		<tr class="odd">
            <td colspan="4">K1 Are you coming to New Zealand to enter a marriage in accordance with an identified cultural tradition?</td>
        	<td>
			<input type="radio" name="is_k1" value="1" <?= (@$info->is_k1==1)?'checked':''?> />Yes 
			<input type="radio" name="is_k1" value="0" <?= (@$info->is_k1==0)?'checked':''?> />No</td>
        </tr>
        <tr class="even">
            <td colspan="4">K2 Has another person (not you or the person you are marrying) arranged the marriage? This includes the initial selection of you and the person you are marrying.</td>
        	<td>
			<input type="radio" name="is_k2" value="1" <?= (@$info->is_k2==1)?'checked':''?> />Yes 
			<input type="radio" name="is_k2" value="0" <?= (@$info->is_k2==0)?'checked':''?> />No</td>
        </tr>
		<tr class="odd">
            <td colspan="4">K3 Do you intend to marry within three months of your arrival in New Zealand?</td>
        	<td>
			<input type="radio" name="is_k3" value="1" <?= (@$info->is_k3==1)?'checked':''?> />Yes 
			<input type="radio" name="is_k3" value="0" <?= (@$info->is_k3==0)?'checked':''?> />No</td>
        </tr>
        <tr class="even">
            <td colspan="5">K4 Do you intend to apply for residence under Immigration New Zealand’s Partnership Instructions?</td>
        	</tr>
		<tr class="odd">
             <td colspan="2">
			<input type="radio" name="is_k4" value="1" <?= (@$info->is_k4==1)?'checked':''?> />Yes 
			<input type="radio" name="is_k4" value="0" <?= (@$info->is_k4==0)?'checked':''?> />No. If you have answered No, please explain why.</td>
        	<td colspan="3"><input type="text" name="k4" value="<?= @$info->k4?>" style="width:300px"/></td>
        	</tr>
        <tr class="even">
            <td colspan="5">K5 Will your intended spouse be eligible to support your application for residence?</td>
        	</tr>
		<tr class="odd">
             <td colspan="2">
			<input type="radio" name="is_k5" value="1" <?= (@$info->is_k5==1)?'checked':''?> />Yes 
			<input type="radio" name="is_k5" value="0" <?= (@$info->is_k5==0)?'checked':''?> />No. If you have answered No, please explain why.</td>
        	<td colspan="3"><input type="text" name="k5" value="<?= @$info->k5?>" style="width:300px"/></td>
        	</tr>
        <tr class="even">
            <td colspan="4">K6 Do you agree to leave New Zealand if the marriage does not take place within three months of your arrival in New Zealand?</td>
        	<td>
			<input type="radio" name="is_k6" value="1" <?= (@$info->is_k6==1)?'checked':''?> />Yes 
			<input type="radio" name="is_k6" value="0" <?= (@$info->is_k6==0)?'checked':''?> />No</td>
        </tr>
		<tr class="odd">
            <td colspan="5">K7 You must provide all of the evidence below. Please tick the boxes to confirm that you have attached all of the evidence we require.</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
				<input type="radio" name="is_k7" value="1" <?= (@$info->is_k7==1)?'checked':''?> />
				I have attached evidence that the person I intend to marry is a New Zealand citizen or residence class visa holder.<br />
            	<input type="radio" name="is_k7" value="2" <?= (@$info->is_k7==2)?'checked':''?> />
				I have attached a completed Form for Partners Supporting Partnership-Based Temporary Entry Applications (INZ 1146)<br />
            	<input type="radio" name="is_k7" value="3" <?= (@$info->is_k7==3)?'checked':''?> />
				I have attached evidence that there is no legal impediment to the intended marriage.<br />
            	<input type="radio" name="is_k7" value="4" <?= (@$info->is_k7==4)?'checked':''?> />
				I have attached evidence that the intended marriage follows an identified cultural tradition, eg letters from the person who arranged the marriage.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">&nbsp;</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><strong>Section L Dependent children of Essential Skills work visa holders</strong></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">L1 Provide the following information for your parent(s).</td>
        	</tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td>Name of parent(s) as shown in passport</td>
        	<td>Date of birth of parent(s)</td>
        	<td>INZ client number for parent(s) (if known)</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td>&nbsp;</td>
        	<td><input type="text" name="l1_1_1" value="<?= @$info->l1_1_1?>"/></td>
        	<td><input type="text" name="l1_1_2" value="<?= @$info->l1_1_2?>"/></td>
        	<td><input type="text" name="l1_1_3" value="<?= @$info->l1_1_3?>"/></td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td><input type="text" name="l1_2_1" value="<?= @$info->l1_2_1?>"/></td>
        	<td><input type="text" name="l1_2_2" value="<?= @$info->l1_2_2?>"/></td>
        	<td><input type="text" name="l1_2_3" value="<?= @$info->l1_2_3?>"/></td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td colspan="4">L2 Does your parent(s), who is the holder of an Essential Skills work visa meet the minimum income threshold?</td>
        	<td><input type="radio" name="is_l2" value="1" <?= (@$info->is_l2==1)?'checked':''?> />Yes 
			<input type="radio" name="is_l2" value="0" <?= (@$info->is_l2==0)?'checked':''?> />No</td>
        </tr>
        <tr class="even">
            <td colspan="4">L3 Have you provided evidence of the salary or wages earned by your parent(s)?</td>
        	<td><input type="radio" name="is_l3" value="1" <?= (@$info->is_l3==1)?'checked':''?> />Yes 
			<input type="radio" name="is_l3" value="0" <?= (@$info->is_l3==0)?'checked':''?> />No</td>
        </tr>
		<tr class="odd">
            <td colspan="5">&nbsp;</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><strong>Section M Guardians of students</strong></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">M1 <input type="radio" name="is_m1" value="1" <?= (@$info->is_m1==1)?'checked':''?> />I have attached evidence that I am the legal guardian of the student that I am accompanying.</td>
        	</tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section N Declaration by applicant</strong></td>
        	</tr>
        <tr class="even">
            <td>Signature of principal applicant</td>
        	<td>Date</td>
        	<td><input type="text" name="n1" id="n1" value="<?= @$info->n1?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td>Signature of partner</td>
        	<td>Date</td>
        	<td><input type="text" name="n2" id="n2" value="<?= @$info->n2?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td>Signature of dependent child</td>
        	<td>Date</td>
        	<td><input type="text" name="n3" id="n3" value="<?= @$info->n3?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td>Signature of dependent child</td>
        	<td>Date</td>
        	<td><input type="text" name="n4" id="n4" value="<?= @$info->n4?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td>Signature of dependent child</td>
        	<td>Date</td>
        	<td><input type="text" name="n5" id="n5" value="<?= @$info->n5?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td>Signature of dependent child</td>
        	<td>Date</td>
        	<td><input type="text" name="n6" id="n6" value="<?= @$info->n6?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td colspan="5">&nbsp;</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><strong>Section O Immigration adviser’s details</strong></td>
        	</tr>
        <tr class="even">
            <td colspan="5">O1 Tick the one option that applies to you</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">
			<input type="radio" name="is_o1" value="1" <?= (@$info->is_o1==1)?'checked':''?> />
			I am a licensed immigration adviser under the New Zealand Immigration Advisers Licensing Act 2007. Go to O2<br />
			<input type="radio" name="is_o1" value="2" <?= (@$info->is_o1==2)?'checked':''?> />
            I am exempt from licensing under the New Zealand Immigration Advisers Licensing Act 2007. Go to O3</td>
        	</tr>
        <tr class="even">
            <td colspan="5">O2 Licensed advisers. Provide your licence details.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">Licence type</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
			<input type="radio" name="is_o2" value="1" <?= (@$info->is_o2==1)?'checked':''?> />full 
			<input type="radio" name="is_o2" value="2" <?= (@$info->is_o2==2)?'checked':''?> />provisional 
			<input type="radio" name="is_o2" value="3" <?= (@$info->is_o2==3)?'checked':''?> />limited. List conditions specified in the register</td>
        	</tr>
		<tr class="odd">
            <td colspan="5"><input type="text" name="o2" value="<?= @$info->o2?>" style="width:500px"/></td>
        	</tr>
        <tr class="even">
            <td colspan="5">Licence number 
            	<input type="text" name="o2_no" value="<?= @$info->o2_no?>"/> 
            	Go to Section P: Declaration by person assisting the applicant.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">O3 Exempt from licensing. Tick one box below to show why you are exempt from licensing.</td>
        	</tr>
        <tr class="even">
            <td colspan="5">
				<input type="radio" name="is_o3" value="1" <?= (@$info->is_o3==1)?'checked':''?> />
				I provided immigration advice in an informal or family context only, and I did not provide the advice systematically or for a fee.<br />
            	<input type="radio" name="is_o3" value="2" <?= (@$info->is_o3==2)?'checked':''?> />
				I am a New Zealand member of Parliament or member of their staff and I provided immigration advice as part of my employment agreement.<br />
				<input type="radio" name="is_o3" value="3" <?= (@$info->is_o3==3)?'checked':''?> />
            	I am a foreign diplomat or consular staff.<br />
				<input type="radio" name="is_o3" value="4" <?= (@$info->is_o3==4)?'checked':''?> />
            	I am an employee of the New Zealand public service and I provided immigration advice within the scope of my employment agreement.<br />
				<input type="radio" name="is_o3" value="5" <?= (@$info->is_o3==5)?'checked':''?> />
            	I am a lawyer and I hold a current practising certificate as a barrister or as a barrister and solicitor of the High Court of New Zealand.<br />
				<input type="radio" name="is_o3" value="6" <?= (@$info->is_o3==6)?'checked':''?> />
            	I am employed by, or I am working as a volunteer for, a New Zealand community law centre where at least one lawyer is on the employing body of the community law centre or is employed by or working as a volunteer for the community law centre in a supervisory capacity.<br />
				<input type="radio" name="is_o3" value="7" <?= (@$info->is_o3==7)?'checked':''?> />
            	I am employed by, or I am working as a volunteer for, a New Zealand citizens advice bureau.</td>
        	</tr>
		<tr class="odd">
            <td colspan="5">&nbsp;</td>
        	</tr>
        <tr class="even">
            <td colspan="5"><strong>Section P Declaration by person assisting the applicant</strong></td>
        	</tr>
		<tr class="odd">
            <td colspan="5">Name and address of person assisting applicant. 
			<input type="radio" name="is_same_assist" value="1" <?= (@$info->is_same_assist==1)?'checked':''?> />Same as address given at B3 , 
			<input type="radio" name="is_same_assist" value="2" <?= (@$info->is_same_assist==2)?'checked':''?> />or as below.</td>
        	</tr>
        <tr class="even">
            <td>Family/last name</td>
        	<td><input type="text" name="assist_family" value="<?= @$info->assist_family?>"/></td>
        	<td>&nbsp;</td>
        	<td>Given/first name(s)</td>
			<td><input type="text" name="assist_given" value="<?= @$info->assist_given?>"/></td>
        </tr>
		<tr class="odd">
            <td>Company name (if applicable) and address</td>
        	<td colspan="4"><input type="text" name="assist_name" value="<?= @$info->assist_name?>" style="width:500px"/></td>
        	</tr>
        <tr class="even">
            <td>Telephone (daytime)</td>
        	<td><input type="text" name="assist_tel1" value="<?= @$info->assist_tel1?>"/></td>
        	<td>&nbsp;</td>
        	<td>Telephone (evening)</td>
			<td><input type="text" name="assist_tel2" value="<?= @$info->assist_tel2?>"/></td>
        </tr>
		<tr class="odd">
            <td>Fax</td>
        	<td><input type="text" name="assist_fax" value="<?= @$info->assist_fax?>"/></td>
        	<td>&nbsp;</td>
        	<td>Email</td>
			<td><input type="text" name="assist_email" value="<?= @$info->assist_email?>" id="assist_email"/></td>
        </tr>
        <tr class="even">
            <td colspan="5">
				<input type="radio" name="has_assist" value="1" <?= (@$info->has_assist==1)?'checked':''?> />
				I have assisted the applicant as an interpreter/translator<br />
            	<input type="radio" name="has_assist" value="2" <?= (@$info->has_assist==2)?'checked':''?> />
				I have assisted the applicant with recording information on the form<br />
            	<input type="radio" name="has_assist" value="3" <?= (@$info->has_assist==3)?'checked':''?> />
				I have assisted the applicant in another way. Specify<input type="text" name="assist_other" value="<?= @$info->assist_other?>"/><br />
            	<input type="radio" name="has_assist" value="4" <?= (@$info->has_assist==4)?'checked':''?> />
				I have provided immigration advice (as defined in the Immigration Advisers Licensing Act 2007) and my details in Section O: Immigration adviser’s details are correct.</td>
        	</tr>
		<tr class="odd">
            <td>Signature of person assisting</td>
        	<td>Date</td>
        	<td><input type="text" name="assist_sign_date" id="assist_sign_date" value="<?= @$info->assist_sign_date?>"/></td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
		<tr class="odd">
            <td>&nbsp;</td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
        <tr class="even">
            <td>&nbsp;</td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
        	<td>&nbsp;</td>
			<td>&nbsp;</td>
        </tr>
    </tbody>
	</table>
<!-- table end -->
</form>

			</div>
		</div>
		
		<?=$this->load->view('include_sidebar',array('id'=>$id,'forms'=>$forms))?>
	</div>

<script type="text/javascript">
$().ready(function() {
  $("#form").validate({
    rules: {
		surname:"required",
		firstname:"required",
		title:"required",
		sex:"required",
		birth:"required",
		passport_no:"required",
		passport_expiry:"required",
		passport_country:"required",
		passport_expiry:"required",
		marital_status:"required"
    }
  });
  
	$.datepicker.setDefaults(
		{
		dateFormat: 'dd/mm/yy',
		changeMonth: true,
		changeYear: true,
		showOn: "both",
		buttonImage: "images/calendar.gif",
		buttonImageOnly: true
		}
	);
	$("#birth").datepicker();
	$("#passport_expiry").datepicker();
	$("#emp1_from").datepicker();
	$("#emp1_to").datepicker();
	$("#emp2_from").datepicker();
	$("#emp2_to").datepicker();
	$("#emp3_from").datepicker();
	$("#emp3_to").datepicker();
	$("#emp4_from").datepicker();
	$("#emp4_to").datepicker();
	$("#emp5_from").datepicker();
	$("#emp5_to").datepicker();
	$("#emp6_from").datepicker();
	$("#emp6_to").datepicker();
	$("#emp7_from").datepicker();
	$("#emp7_to").datepicker();
	$("#emp8_from").datepicker();
	$("#emp8_to").datepicker();
	$("#emp9_from").datepicker();
	$("#emp9_to").datepicker();
	$("#emp10_from").datepicker();
	$("#emp10_to").datepicker();
	$("#emp11_from").datepicker();
	$("#emp11_to").datepicker();
	$("#spouse_birth").datepicker();
	$("#spouse_passport_expiry").datepicker();
	$("#child1_birth").datepicker();
	$("#child1_passport_expiry").datepicker();
	$("#child2_birth").datepicker();
	$("#child2_passport_expiry").datepicker();
	$("#child3_birth").datepicker();
	$("#child3_passport_expiry").datepicker();
	$("#child4_birth").datepicker();
	$("#child4_passport_expiry").datepicker();	
	$("#e6_1_date").datepicker();
	$("#e6_2_date").datepicker();
	$("#e6_3_date").datepicker();
	$("#e6_4_date").datepicker();
	$("#e6_5_date").datepicker();
	$("#e6_6_date").datepicker();
	$("#f1_1_1").datepicker();
	$("#f1_1_2").datepicker();
	$("#f1_2_1").datepicker();
	$("#f1_2_2").datepicker();
	$("#f1_2_3").datepicker();
	$("#f1_3_1").datepicker();
	$("#f1_3_2").datepicker();
	$("#f1_4_1").datepicker();
	$("#f1_4_2").datepicker();
	$("#f3_1").datepicker();
	$("#f3_2").datepicker();
	$("#h2_1_1").datepicker();
	$("#h2_1_2").datepicker();
	$("#h2_2_1").datepicker();
	$("#h2_2_2").datepicker();
	$("#h2_3_1").datepicker();
	$("#h2_3_2").datepicker();
	$("#h2_4_1").datepicker();
	$("#h2_4_2").datepicker();
	$("#h2_5_1").datepicker();
	$("#h2_5_2").datepicker();
	$("#h2_6_1").datepicker();
	$("#h2_6_2").datepicker();
	$("#h2_7_1").datepicker();
	$("#h2_7_2").datepicker();
	$("#n1").datepicker();
	$("#n2").datepicker();
	$("#n3").datepicker();
	$("#n4").datepicker();
	$("#n5").datepicker();
	$("#n6").datepicker();
	$("#assist_sign_date").datepicker();
	
	$("#email").autoMail();
	$("#nz_email").autoMail();
	$("#postal_email").autoMail();
	$("#assist_email").autoMail();
	
	$("#printInfo").click(function(o) {
		var prints = [
			{rel_id: <?=$cateid?>, rec_id: <?=$id?>}
		]  ;
		
		var jdata = JSON.stringify(prints);
		//alert(jdata);
		$.post("<?=site_url('proxy/does/'.str_replace('==','',base64_encode('http://'.$_SERVER['SERVER_NAME'].':9090/javaprduct/servlet/test')))?>",{clients:jdata},function(msg){alert(msg)});
	});
	
	$("#printInfo").ajaxError(function(event,request, settings){
		//$(this).append("<li>出错页面:" + settings.url + "</li>");
		alert("无法访问"+ settings.url );
	}); 
 
});
</script>

<?=$this->load->view('include_footer',null)?>